package com.mes.biz.service.impl;

import com.mes.biz.domain.BizCustomerPayable;
import com.mes.biz.domain.BizSupplierPayable;
import com.mes.biz.mapper.BizCustomerPayableMapper;
import com.mes.biz.mapper.BizSupplierPayableMapper;
import com.mes.biz.service.BizCustomerPayableService;
import com.mes.biz.service.BizSupplierPayableService;
import com.mes.common.core.service.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * 应收账款Service业务层处理
 * @author hwg
 * @email hwg
 * @date 2023-04-30
 */
@Service
@Transactional(readOnly = true)
public class BizCustomerPayableServiceImpl extends BaseServiceImpl<BizCustomerPayableMapper, BizCustomerPayable> implements BizCustomerPayableService {

    @Resource
    private BizCustomerPayableMapper bizCustomerPayableMapper;

    @Override
    public BizCustomerPayable getBizCustomerPayableByCustomerId(String customerId) {
        return bizCustomerPayableMapper.getBizCustomerPayableByCustomerId(customerId);
    }
}
